/**
 * 模态对话框的操作
 * zhaojw
 */
	function plus(url){
		$('#saveModal').modal({
	        keyboard: false,
	        show:true,
	        remote:url
	        });
	$("#saveModal").on("hidden", function() {
	    $(this).removeData("modal");
	});
	}
	function edit(url){
	  // alert(id);
		//alert(adminId);
	    $('#updateModal').modal({
	        keyboard: false,
	        show:true,
	        remote:url
	        });

	$("#updateModal").on("hidden", function() {
	    $(this).removeData("modal");
	});
	}
	

	
	function openInfo(url){
		    $('#searchModal').modal({
		        keyboard: false,
		        show:true,
		        remote:url
		        });
		$("#searchModal").on("hidden", function() {
		    $(this).removeData("modal");
		});
	}
	
	
	function saveInfo(){
		$("#save").submit();
	}
	
function delInfo(url){
	if(confirm("您确定要删除么？")){
		window.open(url);
	}else{
		
	}
}


